#include <iostream>
#include <cmath>

using namespace std;

int main(){

	double a,b,c,d;
	cin >> a >> b >> c;
	d = max(a,b);
	if (d < c){
		cout << c;
	}
	else{
		cout << d;
	}

    return 0;
}
